class CreateWorkCategories < ActiveRecord::Migration
  def self.up
    create_table :work_categories do |t|
      t.column :name, :string, :limit => 100, :null => false
      t.column :category_id, :integer, :null => false, :default => 0
    end
  end

  def self.down
    drop_table :work_categories
  end
end
